<?php

//use Illuminate\Auth\UserInterface;
//use Illuminate\Auth\Reminders\RemindableInterface;

class Team extends Eloquent {

	/**
	 * The database table used by the model.
	 *
	 * @var string
	 */
	protected $table = 'teams';

	/**
	
	/**
	 * Get the unique identifier for the user.
	 *
	 * @return mixed
	 */
	public function getAuthIdentifier()
	{
		return $this->getKey();
	}
    
    public function isOwner($uid)
    {
        return
            $this->owner1 == $uid ||
            $this->owner2 == $uid ||
            $this->owner3 == $uid ||
            $this->owner4 == $uid;
    }
    
}